#ifndef PICHOOSE_WINDOW_H
#define PICHOOSE_WINDOW_H

#include <QWidget>
#include <QLabel>
#include "picshow_window.h"
namespace Ui {
class Pichoose_window;
}

class Pichoose_window : public QWidget
{
    Q_OBJECT

public:
    explicit Pichoose_window(QWidget *parent = nullptr);
    ~Pichoose_window();
    bool eventFilter(QObject *obj, QEvent *event);
    void Pichoose_show();
    void paintEvent(QPaintEvent *event);
    QStringList getFileNames(const QString &path);
    QStringList fileList;
    int now_local=0;
    int picture_num=0;
     QString PicturePath="/home/debian/picture/";
private:
    Ui::Pichoose_window *ui;



    QString Picture_name;

    Picshow_window *Picshow_page=NULL;
    QList<QLabel*> labelList;
};

#endif // PICHOOSE_WINDOW_H
